package cn.livingCloud.dto;

import cn.livingCloud.entity.user.UserAccount;

import java.util.List;

/**
 * Created by DingJie  on 2015/12/4.
 */
public class UserAccountListDto extends Page<UserAccountDto> {
    private String username;
    private String user_id;

    public UserAccountListDto() {
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getUser_id() {
        return user_id;
    }

    public void setUser_id(String user_id) {
        this.user_id = user_id;
    }

    @Override
    public void addAllList(List allUserAccounts) {
        for (Object allUserAccount : allUserAccounts) {
            list.add(new UserAccountDto((UserAccount) allUserAccount));
        }
    }
}
